#ifndef COURSE_H
#define COURSE_H

#include <QtGui>

class Course : public QTreeWidgetItem
{
public:
	Course( int id, const QString& name, const QString& book = "", const QString& equipment = "", 
		    const QString& software = "", const QString& objectivies = "" );

	~Course();

	//! Return the Course ID.
	inline int id() { return mId; }
	//! Return the Course name.
	inline QString name() const { return mName; }
	inline QString book() const { return mBook; }
	inline void setBook( const QString& book ){ mBook = book; }
	inline QString equipment() const { return mEquipment; }
	inline void setEquipment( const QString& equipment  ){ mEquipment = equipment; }
	

private:
	int mId;
	QString mName;
	QString mBook;
	QString mEquipment;
	QString mSoftware;
	QString mObjectives;
};

#endif